<div class="dma-top-1">

  <div class="container">

    <div class="dma-navbar">

      <div class="dma-navbar-inner">

        <div class="container">

          <div class="nav-collapse">

            <div class="nav" style="width:800px;">

              <div class="pull-right">

                <ul class="nav">

                  <li><a href="{$php5WebPath}">Home</a></li>

                  <li><a href="{$php5WebPath}/service/about/">About</a></li>

                  <li><a href="{$php5WebPath}/service/products/">Products and Services</a></li>

                  <li><a href="{$php5WebPath}/service/contactus/">Contact us</a></li>

                </ul>

              </div>

            </div>

            <div class="nav pull-right"> <span class='st_sharethis_large' displayText='ShareThis'></span> <span class='st_facebook_large' displayText='Facebook'></span> <span class='st_twitter_large' displayText='Tweet'></span> <span class='st_linkedin_large' displayText='LinkedIn'></span> <span class='st_pinterest_large' displayText='Pinterest'></span> <span class='st_email_large' displayText='Email'></span> </div>

          </div>

          <!-- /.nav-collapse --> 

        </div>

      </div>

      <!-- /navbar-inner --> 

    </div>

  </div>

</div>

<div class="dma-top-2">

  <div class="container">

    <div class="row"> 

      <!-- Start: Primary navigation -->

      <div class="row-fluid">

        <ul>

          <li class="span4"> <img src="{$php5WebPath}/images/logo.png" /> </li>

          {if $chkUser}

          <li class="span8">

            <div class="row">

              <div style="height:30px">&nbsp;</div>

              <div class="navbar">

                <ul class="nav">

                  <li class="dropdown"> <a href="{$url_customer_user}">Customer Management</a></li>                

                  <li class="dropdown"> <a href="#" class="dropdown-toggle active-link" data-toggle="dropdown">Email Services<b class="caret"></b></a>

                    <ul class="dropdown-menu">	

                      <li><a href="{$url_user_group}">Group Management</a></li>

                      <li class="divider"></li>

                      <li><a href="{$url_newsletter}">Newsletter Management</a></li>

                      <li><a href="{$url_newsletter_history}">Newsletter History</a></li>

                      <li class="divider"></li>

                      <li><a href="{$url_sms}">Messages Management</a></li>

                    </ul>

                  </li>

                  <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown">AdWords Services<b class="caret"></b></a>

                    <ul class="dropdown-menu">

                      <li><a href="{$url_adsword_report}">Report Management</a></li>

                      <li class="divider"></li>

                    </ul>

                  </li>                  

                  <li><a href="#">Welcome {$user_username},</a></li>

                  <li><a href="{$url_logout}">Logout</a></li>

                </ul>

              </div>

            </div>

          </li>

          {else}

          <li class="span6">

            <div class="row">

              <div style="height:15px">&nbsp;</div>

              <div style="height:30px;padding-right:40px;" >

                <div class="pull-right"><a href="javascript:void(0);" onClick="vpb_show_login_box();">Sign in</a> <a href="#">|</a> <a href="javascript:void(0);" onClick="vpb_show_sign_up_box();">Sign up</a></div>

              </div>

              <form class="form-inline" action="{$php5WebPath}/service/main_login/" method="post">              	
                <label style="color:#9ebdcf; font-size:11px;">Member Login:</label>
                <input type="text" class="input-small" placeholder="Username" name="username">
                <input type="password" class="input-small" placeholder="Password" name="pwd">
                <button type="submit" class="btn btn-primary">Login</button>
                <input type="hidden" name="task" value="login" >
              </form>

              {/if} </div>

          </li>

          

        </ul>

      </div>

    </div>

  </div>

</div>

